#region Imported Namespaces



using System;
using System.Runtime.InteropServices;



#endregion


namespace WtfManager.WindowsNative.Shell32
{
  [ComImport]
  [Guid("000214E3-0000-0000-C000-000000000046")]
  [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
  public interface IShellView
  {
    [PreserveSig]
    int GetWindow(out IntPtr phwnd);


    [PreserveSig]
    int ContextSensitiveHelp(bool fEnterMode);


    [PreserveSig]
    int TranslateAcceleratorA(IntPtr pmsg);


    [PreserveSig]
    int EnableModeless(bool fEnable);


    [PreserveSig]
    int UIActivate(SVUIA_STATUS uState);


    [PreserveSig]
    int Refresh();


    [PreserveSig]
    int CreateViewWindow(IShellView psvPrevious, ref FOLDERSETTINGS pfs, IShellBrowser psb, ref RECT prcView,
                         out IntPtr phWnd);


    [PreserveSig]
    int DestroyViewWindow();


    [PreserveSig]
    int GetCurrentInfo(ref FOLDERSETTINGS pfs);


    [PreserveSig]
    int AddPropertySheetPages(long dwReserved, ref IntPtr pfnPtr, int lparam);


    [PreserveSig]
    int SaveViewState();


    [PreserveSig]
    int SelectItem(IntPtr pidlItem, uint uFlags);


    [PreserveSig]
    int GetItemObject(uint uItem, ref Guid riid, ref IntPtr ppv);
  }
}